package net.fxug.hokuriku.chocolat.events
{
    import flash.events.Event;

    /**
     * タイマーイベント
     * @author shoito
     */
    public class SessionTimerEvent extends Event
    {
        /**
         * タイマー起動イベント
         *
         * @eventType startSessionTimerEvent
         */
        public static const START:String = "startSessionTimerEvent";

        /**
         * タイマー停止イベント
         *
         * @eventType stopSessionTimerEvent
         */
        public static const STOP:String = "stopSessionTimerEvent";

        /**
         * タイムアップイベント
         *
         * @eventType timeUpSessionTimerEvent
         */
        public static const TIME_UP:String = "timeUpSessionTimerEvent";
        
        public function SessionTimerEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
        {
            super(type, bubbles, cancelable);
        }

        /**
         * @copy flash.event.Event
         */
        override public function clone():Event
        {
            return new SessionTimerEvent(type, bubbles, cancelable);
        }
    }
}